package com.iss.yunpan.service;

import com.iss.yunpan.entity.FileContent;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

public interface FileService {
    List<FileContent> getAllFile(String id, String fileName);
    void uploadFile(String fileName, InputStream input, String parentId) throws IOException;
    boolean checkFileContent(String fileName, Integer parentId);
    void insertFloder(String fileName, Integer parentId);
    byte[] download(String fileAbsolute) throws IOException;
}